package com.cloud.cmt.usermanage.service;

import com.cloud.cmt.usermanage.entity.RoleGroup;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.List;

/**
 * Created by Administrator on 2017/10/21.
 */
@RepositoryRestResource(path = "rolegroup")
public interface RoleGroupRepository extends JpaRepository<RoleGroup, Long> {
    List<RoleGroup> findByTenantIdAndUplink(String tenantId, Long uplink);
}
